<template>
  <view class="c-pd">
    <view class="mb-2" v-if="props.equipType === 15 || props.equipType === 17 || props.equipType === 20">
      <equipInfo :equipInfo="props.equipInfo"></equipInfo>
    </view>
    <view class="mb-2" v-if="props.equipType === 17">
      <examineInfoCard :equipId="props.equipInfo.equipId"></examineInfoCard>
    </view>
    <view class="mb-2">
      <equipInfoBar :equipInfo="props.equipInfo"></equipInfoBar>
    </view>
    <view class="mb-2" v-if="props.equipType === 15 || props.equipType === 17 || props.equipType === 20">
      <securityGuard :equipInfo="props.equipInfo" :equipType="props.equipType"></securityGuard>
    </view>
    <view class="mb-2">
      <equipmentOperation :equipInfo="props.equipInfo"></equipmentOperation>
    </view>
  </view>
</template>

<script setup lang="ts">
import securityGuard from '@/subcontract/equipment/equipDetail/component/mindDetailModel/component/securityGuard/index.vue';
import equipmentOperation from '@/subcontract/equipment/equipDetail/component/mindDetailModel/component/equipmentOperation/index.vue';
import equipInfo from '@/subcontract/equipment/equipDetail/component/mindDetailModel/component/equipInfo/index.vue';
import examineInfoCard from '@/subcontract/equipment/equipDetail/component/mindDetailModel/component/examineInfoCard/index.vue';
import equipInfoBar from '@/subcontract/equipment/equipDetail/component/mindDetailModel/component/equipInfoBar/index.vue';

const props = defineProps<{ equipInfo: IEquipDetailRes; equipType: number }>();
</script>
